{include file="public/header" /}
<!--main content start-->
<section class="main-content-wrapper">
    <section id="main-content">
        <div class="row">
        <div class="col-md-12">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h3 class="panel-title">导航添加</h3>
                    <!--<div class="actions pull-right">-->
                        <!--<i class="fa fa-chevron-down"></i>-->
                        <!--<i class="fa fa-times"></i>-->
                    <!--</div>-->
                </div>
                <div class="panel-body">
                <form action="/admin/system/navigation_save" method="post" enctype="multipart/form-data" class="form-horizontal form-border">
                    <input name="id" value="{$id|default=''}" type="hidden">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">菜单名称：</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="title" placeholder="菜单名称" value="{$title|default=''}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">title信息名称：</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="alt_title" placeholder="title信息名称" value="{$alt_title|default=''}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">菜单链接：</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="url" placeholder="需要加http://" value="{$url|default=''}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">nofollow状态：</label>
                        <div class="col-sm-4">
                            <input type="radio" name="follow" value="1" {if isset($follow)}{if condition="($follow == 1) "} checked {else /}{/if}{else /}checked{/if}>禁止nofollw &nbsp;
                            <input type="radio" name="follow" value="2" {if isset($follow)}{if condition="($follow == 2)"} checked {else /}{/if{/if}{else /}{/if}}>使用nofollw
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">内页展示：</label>
                        <div class="col-sm-4">
                            <input type="radio" name="inside" value="1" {if isset($inside)}{if condition="($inside == 1) "} checked {else /}{/if}{else /}checked{/if}>是 &nbsp;
                            <input type="radio" name="inside" value="2" {if isset($inside)}{if condition="($inside == 2)"} checked {else /}{/if{/if}{else /}{/if}}>否
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">状态：</label>
                        <div class="col-sm-4">
                            <input type="radio" name="status" value="1" {if isset($status)}{if condition="($status == 1) "} checked {else /}{/if}{else /}checked{/if}>正常 &nbsp;
                            <input type="radio" name="status" value="2" {if isset($status)}{if condition="($status == 2)"} checked {else /}{/if{/if}{else /}{/if}}>冻结
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">排序：</label>
                        <div class="col-sm-2">
                            <input type="text" class="form-control" name="sort" placeholder="请填写数字" value="{$sort|default='1'}">
                        </div>
                    </div>

                    <div class="panel-body">
                        <button type="submit" class="btn btn_5 btn-lg btn-default w_update">发布</button>
                    </div>
                </form>
                </div>
            </div>
        </div>
        </div>
    </section>
</section>
<style>
    @media (min-width: 768px){
        .form-horizontal .control-label {
             text-align: left;
        }
    }
    /*时间插件*/
    .add-on{display:inline-block;width:auto;height:36px;min-width:16px;padding:4px 5px;font-size:14px;font-weight:normal;line-height:32px;text-align:center;text-shadow:0 1px 0 #fff;background-color:#eee;border:1px solid #ccc}
    .input-prepend .add-on:first-child{-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}
    .input-append .add-on{margin-left: -4px;}
    .input-append .add-on:last-child{margin-left:-4px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}
    [class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;margin-top:1px;*margin-right:.3em;line-height:14px;vertical-align:text-top;background-image:url("http://cdn.bootcss.com/twitter-bootstrap/2.2.2/img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat}
    .icon-th{background-position:-240px 0}
    .icon-remove{background-position:-312px 0}
    @media screen and (max-width: 850px) {
        .add-on {
            display: table-cell
        }
    }
</style>
<!--main content end-->
{include file="public/footer" /}